﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<meta charset="utf-8" />
	<title>17玩芽-活动预告</title>
	<meta name="Keywords" content="17玩芽-活动预告" />
	<meta name="Description" content="17玩芽-活动预告" />
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
	<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
	<!-- Mobile Devices Support @begin -->
	<meta content="application/xhtml+xml;charset=UTF-8" http-equiv="Content-Type">
	<meta content="no-cache,must-revalidate" http-equiv="Cache-Control">
	<meta content="no-cache" http-equiv="pragma">
	<meta content="0" http-equiv="expires">
	<meta content="telephone=no, address=no" name="format-detection">
	<meta name="apple-mobile-web-app-capable" content="yes" /> <!-- apple devices fullscreen -->
	<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
	<!-- Mobile Devices Support @end -->
	<style type="text/css">
		#head_img{
			margin-top: -21px;

		}
		.all-box{
			font-family: "微软雅黑", Arial, Helvetica, sans-serif;
			font-size: 16px;
			margin-bottom: auto;
			margin-left: auto;
			margin-right: auto;
			margin-top: auto;
			width: 640px ;

		}
		.foot_title{
			margin-top: 10px;
			height: 60px;
		}
		.foot_title_left{
			margin-left: 30px;
			font-size: 30px;
			float: left;
		}
		.foot_title_right{
			margin-right: 30px;
			font-size: 24px;
			float: right;
		}
		.foot_img{
			height: 127px;
			color: #0e90d2;
		}
		.img_box{
			float: left;
			width: 172px;
			height: 126px;
			margin-left: 31px;
		}
		.nav{
			/*border-radius:10px;*/
			height:80px;
			width:640px;
			color: white;
			border: solid #F08995 2px;
			background-color: #F08995;
			font-size:22px;
		}
		a{
			text-decoration:none;
			color:  #F08995;
		}
	</style>
	<a id="_top"></a>
</head>
<center>
		<body class="all-box">
		<form action="./applyActivity.php" method="post" name="joinus">
			<div class="header_activity">
				<img id="head_img" src="/m/img/reg/<?php echo($activity['activity_img']);  ?>" alt="活动图片" title="活动图片"/>
			</div>
			<div class="content_activity">
				<img id="head_img" src="/m/img/reg/<?php echo($activity['custom_content']);  ?>" alt="活动内容" title="活动内容"/>
			</div>
			<input class="nav" id="example1" type="submit" value="报名参加"/>
			<div class="foot_activity">
				<div class="foot_title">
					<label class="foot_title_left">往期活动</label>
					<label class="foot_title_right"><a href="./moreActivity.php">更多</a></label>
				</div>
				<div class="foot_img">
					<?php $x = 3; if($isNull==0){ ?>
						<?php foreach($OldActivityResult as $oldActivityResult): ?>
								<?php if($x > $isNull){ ?>
								<a href="#activity_id=?<?php $oldActivityResult['activity_id'] ?>"><img class="img_box" src="/m/img/reg/<?php echo($oldActivityResult['activity_img']);  ?>" x="0" y="0"/></a>
									<!--<img class="img_box" src="/m/img/reg/<?php /*echo($oldActivityResult['activity_img']);  */?>" x="0" y="0"  />
									<img class="img_box" src="/m/img/reg/<?php /*echo($oldActivityResult['activity_img']);  */?>" x="0" y="0"/>-->
								<?php }?>
							<?php $x++; endforeach; ?>
						<?php }else{  ?>
					<label>暂无历史活动</label>
					<?php }?>

				</div>
				<!--<label class="time"><?php /*echo($activity['start_time']);  */?>~<?php /*echo($activity['end_time']);  */?></label><br>-->

			</div>
			<input type="hidden" name="openid" value="<?php echo($openid);  ?>"/>
			<input type="hidden" name="activity_id" value="<?php echo($activity_id);  ?>"/>
			<input type="hidden" name="uid" value="<?php echo($uid);  ?>"/>
		</form>
		<script type="text/javascript" src="/m/js/jquery-1.9.1.min.js"></script>
		<script type="text/javascript" src="/m/js/posfixed.js"></script>
		<script type="text/javascript">
			$(document).ready(function(){
				$('.nav').posfixed({
					distance : 100,
					direction : 'top',
					type : 'while',
					hide : false
				});
			});
		</script>
		</body>
</center>
</html>